Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development


Property management

The Session Manager on the client maintains a temp-table of property values representing context information needed by the client. For values stored in the temp-table, no server call is necessary to retrieve a value. This temp-table is initialized at session start-up with values for the standard client properties such as user ID and login company. These values are then passed to the server if they are also needed there. Only properties that are solely maintained on the client can be cached locally on the client in this way, even though their values can be read server-side. If it is possible for code to modify the property value on the server, then the client temp-table cannot have the property value, and the client must always redirect the request for the property to the server.

The Session Manager is also used for client-side properties that do not need to be reflected on the server. For these properties, the value is only managed on the client. This can be a useful and efficient mechanism for temporary storage of information between program calls, as the Session Manager is always initiated at the start of every session and runs in every client session.

If there is no AppServer connection, then the server version of the Session Manager is run on the client. In this case, all properties are cached in the temp-table and the context database table is not used.

In addition to the many standard properties already defined, application code can define and store any additional properties just by passing them to the Session Manager. There are two simple calls to do this:

Here are a few things to keep in mind when you use these functions:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095